package com.wiscamp.ninechapters.problems.application.dto.commands.sets;

import com.wiscamp.ninechapters.problems.enums.Actions;
import cube.ddd.application.DataTransferObject;
import lombok.Data;

import java.io.Serial;

/**
 * 组题规则-知识点规则
 */
@Data
public class UpdateKnowledgePointRuleDto implements DataTransferObject {
    @Serial
    private static final long serialVersionUID = -9048960251712037923L;

    /**
     * 编号
     */
    private long id = 0;

    /**
     * 规则编号
     */
    private long ruleId = 0;

    /**
     * 知识点编号
     */
    private long pointId = 0;

    /**
     * 知识点类型
     */
    private int pointTypeId = 0;

    /**
     * 权重
     */
    private int weight = 0;

    /**
     * 题数
     */
    private int problemQuantity = 0;

    /**
     * 起始难度
     */
    private int startDifficulty = 0;

    /**
     * 结束难度
     */
    private int endDifficulty = 0;

    /**
     * 操作类型 （不可空）
     */
    private Actions action = Actions.NONE;
}